<script>
function jsonp_handle(val, key){
    console.log([val, key]);
}
function test(){
    var s = document.createElement('script');
    s.type = 'text/javascript';
    s.src = 'http://127.0.0.1/eatwhat_server/method/jsonp.php?jsonp_handle=jsonp_handle&jsonp_key=123&m=debug.jsonp_test';
    document.body.appendChild(s);
}
</script>